namespace MsForgeReboot.Services.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class CreateUserProfileFields : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.Users", "PublicName", c => c.String(nullable: false, maxLength: 100));
            AddColumn("dbo.Users", "ReceiveNotifications", c => c.Boolean(nullable: false));
            CreateIndex("dbo.Users", "PublicName", true);
        }
        
        public override void Down()
        {
            DropIndex("dbo.Users", "IX_PublicName");
            DropColumn("dbo.Users", "ReceiveNotifications");
            DropColumn("dbo.Users", "PublicName");
        }
    }
}